<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI大师写作 - 确认订单</title>
    <link rel="shortcut icon" href="../pc/assets/icon.ico" type="image/vnd.microsoft.icon" />
    <link rel="stylesheet" href="../pc/assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../pc/assets/css/common.css?v=20.8">
    <link rel="stylesheet" href="../pc/assets/css/editor.css?v=18.1">
    <link rel="stylesheet" href="../pc/assets/css/ProfessionalEdition.css?v=18.6">
    <link rel="stylesheet" href="../pc/assets/css/pay.css?v=20.6">
    <link rel="stylesheet" href="../pc/assets/css/leftCss.css?v=0.1">
    <script>
        var USER_TOKEN = 'RmlETkdPdjYzZmVjNTVhMDAyYzY='
        var JANE_NAME = 'dsxz';
    </script>
</head>
<body>
<div class="payApp clearfix" id="App">
    <div class="col-md-4 boxLeft">
        <div class="logo">
            <div class="NormalLogo">
                <img src="../pc/assets/img/logo.png" alt="AI大师写作">
                <img src="../pc/assets/img/logoType.png" alt="极速版">
            </div>
            <div class="professionLogo">
                <img src="../pc/assets/img/logo2.png" alt="AI大师写作">
                <img src="../pc/assets/img/logoType2.png" alt="专业版">
            </div>
            <p>您身边的智能论文导师</p>
        </div>
        <!-- 极速版 -->
        <div class="NormalBox">
            <div class="step1">
                <div class="steptop">
                    输入 <span>论文标题</span>
                </div>
                <div class="stepType">
                    经济管理与财富发展
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step123.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>原创范文<a class="example" href="./demo/ai_paper_report/%E5%95%86%E4%B8%9A%E9%93%B6%E8%A1%8C%E8%B4%A2%E5%AF%8C%E7%AE%A1%E7%90%86%E4%B8%9A%E5%8A%A1%E5%8F%91%E5%B1%95-%E6%AF%95%E4%B8%9A%E8%AE%BA%E6%96%87.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="stepCard clearfix">
                        <div class="col-md-12">
                            标题：<span class="economy">经济管理与财富发展</span>
                        </div>
                        <div class="col-md-12 contents">
                            <p>摘要: <span>随着我国金融行业的飞速发展...</span></p>
                            <p>关键词: <span>经济管理;财富;发展</span></p>
                            <p class="bold">一、  经济管理</p>
                            <p class="bold">1.1 经济管理的含义</p>
                            <p class="yc">...</p>
                        </div>
                    </div>

                    <p class="longText">毕业论文附带查重报告</p>
                    <div class="reportCheck">
                        <p>重复率<30%</p>
                    </div>

                    <p class="longText">收集超过300W篇数据，支持DOC格式</p>
                    <div class="stepCard stepCard2">
                        <div>
                            <img src="../pc/assets/img/literature.png" alt="">
                            <span>Z证券N营业部财富管理业务...</span>
                        </div>
                        <div>
                            <img src="../pc/assets/img/literature.png" alt="">
                            <span>山东中行财富管理业务竞争战略...</span>
                        </div>
                        <p class="yc">... ...</p>

                        <div class="characteristic">
                            <div class="pull-left characteristicCard">
                                <p>轻快</p>
                                <p>智能</p>
                            </div>
                            <div class="pull-left characteristicCard">
                                <p>标准</p>
                                <p>文档</p>
                            </div>
                            <div class="pull-left characteristicCard">
                                <p>自动</p>
                                <p>排版</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 专业版 -->
        <div class="advancedBox">
            <div class="top1">
                <p class="procedure"><span>输入标题;字数 </span></p>
                <div class="content">
                    经济管理与财富发展
                </div>
            </div>
            <div class="top2">
                <p class="procedure"><span>提交自写提纲</span></p>
                <div class="top2Tips">
                    可编辑参考提纲后再生成更智能
                </div>
                <div class="content">
                    <p class="fz14">第一章 财富发展对经济管理的影响</p>
                    <p class="lvs1">1.1 财富创造与经济增长</p>
                    <p class="lvs2">1.1.1 财富创造的概念与重要性</p>
                    <p class="lvs1">1.2 财富分配与社会经济稳定</p>
                    <p>. . .</p>
                </div>
            </div>
            <p class="step">
                立得
                </br>
                <img src="../pc/assets/img/arrow-down2.png" alt="">
            </p>
            <div class="step2 step3">
                <img src="../pc/assets/img/step133.png" alt="">
                <div class="stepMain">
                    <div class="top3">
                        <div class="topHader">
                            <span><span class="ai">AI</span>原创范文</span>
                            <a class="example" href="./demo/ai_paper_report/%E5%95%86%E4%B8%9A%E9%93%B6%E8%A1%8C%E8%B4%A2%E5%AF%8C%E7%AE%A1%E7%90%86%E4%B8%9A%E5%8A%A1%E5%8F%91%E5%B1%95-%E6%AF%95%E4%B8%9A%E8%AE%BA%E6%96%87.pdf" target="_blank" rel="noopener noreferrer">样例</a>
                        </div>
                        <div class="content">
                            <p class="cl3"><span class="cl1">标题：</span>经济管理与财富发展</p>
                            <p class="cl1"><span class="cl2">摘要：</span>随着我国金融行业的飞速发展...</p>
                            <p class="cl1"><span class="cl2">关键词：</span>经济管理;财富;发展...</p>
                            <p class="cl2">一、  经济管理</p>
                            <p class="cl2">1.1 经济管理的含义</p>
                            <p class="cl2">...</p>
                        </div>
                    </div>
                    <div class="top4">
                        <p class="topHader">毕业论文附带查重报告</p>
                        <div class="reportCheck">
                            <p>重复率<30%</p>
                        </div>
                    </div>
                    <div class="top4 step3-zy">
                        <p class="topHader">一键唤起<span class="ai">AI</span>，灵感跃然直上</p>
                        <ul class="content">
                            <li class="TheFirstRow">
                                <img src="../pc/assets/img/inspiration.png" alt="思路">
                                写作思路
                            </li>
                            <li class="TheFirstRow">
                                <img src="../pc/assets/img/found.png" alt="提纲">
                                精选提纲
                            </li>
                            <li>
                                <img src="../pc/assets/img/formula.png" alt="公式">
                                图表公式
                            </li>
                            <li>
                                <img src="../pc/assets/img/acknowledgement.png" alt="模板">
                                致谢模板
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- 降aigc -->
        <div class="zjcaigcBox">
            <div class="step1">
                <div class="steptop">
                    对比语言模型和思维逻辑
                </div>
                <div class="stepType">
                    轻松降低“AIGC检测系统”的AI疑似率
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img class="step12" src="../pc/assets/img/step12.png" alt="">
                <div class="stepMain">
                    <p>赋能<span class="ai">AI</span>生成文章<a class="example" href="./demo/zjchong/aigcNad.html" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="stepMainTop">
                        <div class="Tradition">
                            <div class="TraditionBox">
                                <div class="TraditionTop">纯人工降写</div>
                                <div class="TraditionBottom">
                                    无从下手<br>
                                    时间花了<br>
                                    效果不降反升
                                </div>
                            </div>
                        </div>
                        <div class="vsBox">vs</div>
                        <div class="Now">
                            <div class="TraditionBox">
                                <div class="TraditionTop">
                                    <img src="../pc/assets/img/Fire.png" alt="">
                                    <span class="ai">AI</span>降后
                                </div>
                                <div class="TraditionBottom">
                                    精准解读<br>
                                    一键降疑似率<br>
                                    生成全新范文
                                </div>
                            </div>
                        </div>
                    </div>
                    <p class="aigc_p">支持市面上主流AIGC疑似率系统</p>
                    <div class="stepMainBottom">
                        <p class="tipsTo">
                            降AIGC率
                            <span class="color1">预计</span>
                            优化
                            <span class="color2">75%</span>
                            <img class="ExcessiveX" src="../pc/assets/img/Excessive.png" alt="">
                            <span class="color3">15%</span>
                        </p>
                        <div class="CaseImg">
                            <div class="Tradition2">
                                <div class="topTips">
                                    降AIGC前
                                </div>
                                <img src="../pc/assets/img/Tradition.png" alt="">
                            </div>
                            <img class="Excessive" src="../pc/assets/img/Excessive.png" alt="">
                            <div class="Now2">
                                <div class="topTips">
                                    降AIGC后
                                </div>
                                <img src="../pc/assets/img/Now.png" alt="">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 文献综述 -->
        <div class="wxzsBox">
            <div class="step1">
                <div class="steptop">
                    采用先进自然语言技术精准解析文献综述
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12s.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>生成文献综述<a class="example" href="./demo/ai_paper_report/zsbg/%E4%B8%80%E5%B8%A6%E4%B8%80%E8%B7%AF%E7%9A%84%E7%9B%B8%E5%85%B3%E6%96%87%E7%8C%AE%E7%BB%BC%E8%BF%B0-%E6%96%87%E7%8C%AE%E7%BB%BC%E8%BF%B0.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="VersionTips"><b>根据<span>研究目的、专业背景和学术需求</span>选择以下综述：</b></div>
                    <div class="Referenc">
                        <div class="topType">
                            <div class="type1">综述报告</div>
                            <div class="type2">综述论文</div>
                        </div>
                        <div class="IntroductionBottom">
                            <div class="Introduction1">
                                <p>灵活概览</p>
                                <p>实践导向</p>
                                <p>简明扼要</p>
                            </div>
                            <div class="Introduction2">
                                <p>系统深入</p>
                                <p>学术严谨</p>
                                <p>详尽全面</p>
                            </div>
                        </div>
                    </div>
                    <p>轻松引领研究之路</p>
                    <div class="Referenc2">
                        <div class="Referenc2Top">
                            <p class="Rp1">Multimodal+Global Thought Chain指导</p>
                            <p class="Rp2">条件语言模型生成连贯、一致和逻辑性强的长文本技术</p>
                        </div>
                        <div class="StepsBox">
                            <div class="StepsCard">
                                <div class="SerialNumber">
                                    1
                                </div>
                                <p>精心筛选</p>
                                <p>参考文献</p>
                            </div>
                            <img class="arrow2" src="../pc/assets/img/arrow2.png" alt="">
                            <div class="StepsCard">
                                <div class="SerialNumber">
                                    2
                                </div>
                                <p>精准分析</p>
                                <p>研究问题</p>
                            </div>
                            <img class="arrow2" src="../pc/assets/img/arrow2.png" alt="">
                            <div class="StepsCard">
                                <div class="SerialNumber">
                                    3
                                </div>
                                <p>客观评述</p>
                                <p>研究现状</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 开题报告 -->
        <div class="ktbgBox">
            <div class="step1">
                <div class="steptop">
                    算法深度研究，构建逻辑清晰报告
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12ktbg.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>原创报告范本<a class="example" href="./demo/ai_paper_report/ktbg/%E8%AE%BA%E4%B8%AD%E5%9B%BD%E5%BC%8F%E7%8E%B0%E4%BB%A3%E5%8C%96%E7%9A%84%E6%B2%BB%E7%90%86%E9%80%BB%E8%BE%91%E5%88%9B%E6%96%B0-%E5%BC%80%E9%A2%98%E6%8A%A5%E5%91%8A.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <img class="TopImg1" src="../pc/assets/img/TopImg1.png" alt="">
                        <img class="TopImg2" src="../pc/assets/img/TopImg2.png" alt="">
                    </div>
                    <p>提取报告生成匹配毕业论文 <span class="Label"></span></p>
                    <div class="Referenc2">
                        <p>进一步激发匹配度，促进论文的完整度</p>
                        <div class="CardContent">
                            <div>
                                <span>开题报告</span>
                                <img src="../pc/assets/img/ktbgs.png" alt="">
                            </div>
                            <img class="ExcessiveImg" src="../pc/assets/img/icon-arrow.png" alt="">
                            <div>
                                <span>毕业论文</span>
                                <img src="../pc/assets/img/bylw.png" alt="">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 任务书 -->
        <div class="rwsBox">
            <div class="step1">
                <div class="steptop">
                    对海量的任务书文本进行深度学习和模型训练
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12rws.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>生成任务书范文<a class="example" href="./demo/ai_paper_report/rws/%E6%97%85%E6%B8%B8%E4%B8%9A%E5%AF%B9%E6%88%91%E5%9B%BD%E7%A4%BE%E4%BC%9A%E7%BB%8F%E6%B5%8E%E8%B4%A1%E7%8C%AE%E7%9A%84%E5%9B%9E%E5%BD%92%E5%88%86%E6%9E%90-%E4%BB%BB%E5%8A%A1%E4%B9%A6.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <img class="rwsBoxImg1" src="../pc/assets/img/rwsBoxImg1.png" alt="">
                        <img class="rwsBoxImg2" src="../pc/assets/img/rwsBoxImg2.png" alt="">
                    </div>
                    <p>精心规划研究路径，从容面对毕业任务</p>
                    <div class="Referenc2">
                        <div class="NotRecommended">
                            <div class="NotRecommendedTop">
                                <img src="../pc/assets/img/bad.png" alt="">
                                自己写的
                            </div>
                            <div class="NotRecommendedBottom">
                                错误和遗漏
                            </div>
                        </div>
                        <div class="Recommended">
                            <div class="RecommendedTop">
                                <img src="../pc/assets/img/Recommended.png" alt="">
                                <b>AI生成</b>
                            </div>
                            <div class="RecommendedBottom">
                                <p>生成规范、标准的<span>高质量内容</span></p>
                                <p>提高文档的准确性和完整性</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 课程论文 -->
        <div class="kclwBox">
            <div class="step1">
                <div class="steptop">
                    剖析论文核心要点，赋能高效写作
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12ss.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>原创范文<a class="example" href="./demo/ai_paper_report/kclw/%E5%9C%A8%E5%86%9C%E6%9D%91%E5%AF%84%E5%AE%BF%E5%88%B6%E5%B0%8F%E5%AD%A6%E9%AB%98%E5%B9%B4%E7%BA%A7%E5%BC%80%E5%B1%95%E7%A7%91%E5%AD%A6%E8%AF%BE%E7%A8%8B%E4%B8%8E%E8%AF%AD%E6%96%87%E5%92%8C%E6%95%B0%E5%AD%A6%E8%9E%8D%E5%90%88%E6%95%99%E5%AD%A6%E7%9A%84%E7%AD%96%E7%95%A5%E7%A0%94%E7%A9%B6-%E8%AF%BE%E7%A8%8B%E8%AE%BA%E6%96%87.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <p><b>标题：</b><span>大学生消费水平结构分析</span></p>
                        <p>
                            <b>摘要：</b>本文旨在通过对大学生的消费结构及消费行为特征进行...
                        </p>
                        <p><b>关键词：</b>消费水平；消费结构...</p>
                        <p><b>一、引言及研究背景</b></p>
                        <p class="indent">长期以来，人们对大学生消费问题的研究主要停留在主观...</p>
                        <p><b>二、当代大学生消费的基本状况</b></p>
                        <p><b>2.1 当代大学生消费特征</b></p>
                        <p class="indent">大学生消费的最大的特点在于追求时尚化，追求时尚...</p>
                        <div>
                            <span class="Omit">...</span>
                            <span class="NumberOfWords">
                                4000-9000字左右
                            </span>
                        </div>
                    </div>
                    <p>算法直击关键  精准聚焦论文研究范围</p>
                    <div class="Referenc2">
                        <p>Multimodal+Global Thought Chain专为学术领域文本生成任务而设计，具有以下特性：</p>
                        <div class="Correct">
                            <div>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>学术专业性</span>
                            </div>
                            <div>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>内容精准</span>
                            </div>
                            <div>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>跨学科能力</span>
                            </div>
                            <div>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>深度理解</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 期刊论文 -->
        <div class="qklwBox">
            <div class="step1">
                <div class="steptop">
                    掌握尖端算法，打造高水平学术期刊
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12qklw.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>原创范文<a class="example" href="./demo/ai_paper_report/qklw/%E6%88%91%E8%BF%87%E4%B8%AD%E5%B0%8F%E4%BC%81%E4%B8%9A%E8%9E%8D%E8%B5%84%E6%96%B9%E5%BC%8F%E9%80%89%E6%8B%A9%E5%BD%B1%E5%93%8D%E5%9B%A0%E7%B4%A0%E7%A0%94%E7%A9%B6-%E6%9C%9F%E5%88%8A%E8%AE%BA%E6%96%87.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <p><b>标题：</b><span>跨国公司对发展中国家经济的影响</span></p>
                        <p>
                            <b>摘要：</b>本文旨在探讨跨国公司对发展中国家经济
                            的影响，并通过理论......
                        </p>
                        <p><b>关键词：</b>经济链；全球经济；数字经济...</p>
                        <p><b>一、引言</b></p>
                        <p class="indent">全球经济一体化的加深使得跨国公司在国际贸易和直接投资领域...</p>
                        <p><b>二、发展中国家的经济机遇</b></p>
                        <p><b>(一)技术转移和产业升级</b></p>
                        <p>1.1 吸收跨国公司的技术和管理经验</p>
                        <p class="indent">跨国公司通常拥有先进的技术和管理经验...</p>
                        <p><b>...</b></p>
                        <div class="characteristic">
                            <div class="pull-left characteristicCard">
                                <p>在职</p>
                                <p>人员</p>
                            </div>
                            <div class="pull-left characteristicCard">
                                <p>在校</p>
                                <p>学生</p>
                            </div>
                            <div class="pull-left characteristicCard">
                                <p>学术</p>
                                <p>研究</p>
                            </div>
                        </div>
                    </div>
                    <p>算法融合学术写作标准  期刊审核特性</p>
                    <div class="Referenc2">
                        <div class="Referenc2Left">
                            <p>
                                <img src="../pc/assets/img/icon1.png" alt="">
                                <span>期刊发表</span>
                            </p>
                            <p>
                                <img class="icon2" src="../pc/assets/img/icon2.png" alt="">
                                <span>学术提升</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon3.png" alt="">
                                <span>职称晋升</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon4.png" alt="">
                                <span>领域深耕</span>
                            </p>
                        </div>
                        <div class="Referenc2Right">
                            <p>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>高水平原创</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>文献可检索</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>学术可验证</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>前沿理论信息</span>
                            </p>
                            <p>
                                <img src="../pc/assets/img/icon_tick.png" alt="">
                                <span>深度广度兼并</span>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 调研报告 -->
        <div class="dybgBox">
            <div class="step1">
                <div class="steptop">
                    通过AI自动化技术处理大量数据，快速生成报告
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12dybg.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>生成调研报告范文<a class="example" href="./demo/ai_paper_report/dybg/%E6%B6%88%E8%B4%B9%E8%80%85%E5%AF%B9%E4%BA%A7%E5%93%81%E8%B4%A8%E9%87%8F%E7%9A%84%E8%AE%A4%E7%9F%A5%E5%92%8C%E6%BB%A1%E6%84%8F%E5%BA%A6%E8%B0%83%E7%A0%94%E6%8A%A5%E5%91%8A-%E8%B0%83%E7%A0%94%E6%8A%A5%E5%91%8A.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="VersionTips">每篇范文<span>大约1.5万字左右</span>，参考文献不计</div>
                    <div class="Referenc">
                        <div class="ReferencContent">
                            <p><b>一、引言</b>（调研目的）</p>
                            <p><b>二、文献综述</b>（国内外）</p>
                            <p><b>三、方法</b>（调研目的）</p>
                            <p><b>四、结果</b>（调研数据）</p>
                            <p><b>五、讨论</b>（分析解释）</p>
                            <p><b>六、结论</b>（意义和价值）</p>
                            <p><b>七、参考文献  ...</b></p>
                        </div>
                    </div>
                    <p>基于历史数据，深入分析</p>
                    <div class="Referenc2">
                        <div class="Referenc2card">
                            <div>
                                <div>
                                    <img src="../pc/assets/img/1.png" alt="">
                                    <span>高效快速</span>
                                </div>
                            </div>
                            <div>
                                <div>
                                    <img src="../pc/assets/img/2.png" alt="">
                                    <span>准确可靠</span>
                                </div>
                            </div>
                            <div>
                                <div>
                                    <img src="../pc/assets/img/3.png" alt="">
                                    <span>个性化定制</span>
                                </div>
                            </div>
                            <div>
                                <div>
                                    <img src="../pc/assets/img/4.png" alt="">
                                    <span>持续升级</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 实践报告 -->
        <div class="sxbgBox">
            <div class="step1">
                <div class="steptop">
                    AI原创报告，适用于各类实践场景
                </div>
                <div class="stepType">
                    只需输入论文标题
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12_sxbg.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>生成实践报告范文<a class="example" href="./demo/ai_paper_report/sjbg/%E5%95%86%E4%B8%9A%E9%93%B6%E8%A1%8C%E8%B4%A2%E5%AF%8C%E7%AE%A1%E7%90%86%E4%B8%9A%E5%8A%A1%E5%8F%91%E5%B1%95---%E5%AE%9E%E8%B7%B5%E6%8A%A5%E5%91%8A.pdf" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <img src="../pc/assets/img/PracticeReport.png" alt="">
                        <div class="Content">
                            <div class="ContentBox">
                                <div class="ContentHader">
                                    <img src="../pc/assets/img/report_ico.png" alt="">
                                    报告内容
                                </div>
                                <div class="White">
                                    <p>一、实践背景</p>
                                    <p>二、实践目的</p>
                                    <p>三、实践内容</p>
                                    <p>四、实践总结</p>
                                    <p>...</p>
                                    <div class="SpecialHint">
                                        可自行设定字数
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <p class="Title2">几分钟让你的报告内容满满</p>
                    <div class="Referenc2 row">
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/text_ico.png" alt="">
                                <div class="textBox">
                                    <p class="p1">高效快捷</p>
                                    <p class="p2">一键创作长文</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/performance_ico.png" alt="">
                                <div class="textBox">
                                    <p class="p1">工作内容</p>
                                    <p class="p2">突出亮点成绩</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/harvest_ico.png" alt="">
                                <div class="textBox">
                                    <p class="p1">整体回顾</p>
                                    <p class="p2">总结成长收获</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/reflection_ico.png" alt="">
                                <div class="textBox">
                                    <p class="p1">反思不足</p>
                                    <p class="p2">职场致谢展望</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 答辩ppt -->
        <div class="lwdbpptBox">
            <div class="step1">
                <div class="steptop">
                    AI赋能轻松搞定答辩PPT
                </div>
                <div class="stepType">
                    只需输入论文标题、专业并提交论文
                </div>
            </div>
            <div class="step">
                <img src="../pc/assets/img/arrow-down.png" alt="">
            </div>
            <div class="step2">
                <img src="../pc/assets/img/step12ppt.png" alt="">
                <div class="stepMain">
                    <p><span class="ai">AI</span>生成答辩PPT模板<a class="example" href="./demo/ai_paper_report/ppt/%E5%95%86%E4%B8%9A%E9%93%B6%E8%A1%8C%E8%B4%A2%E5%AF%8C%E7%AE%A1%E7%90%86%E4%B8%9A%E5%8A%A1%E5%8F%91%E5%B1%95---%E7%AD%94%E8%BE%A9ppt.html?v=1.2" target="_blank" rel="noopener noreferrer">样例</a></p>
                    <div class="Referenc">
                        <div class="TemplateStyle">
                            <div class="top1">
                                <img src="../pc/assets/img/sjx.png" alt="">
                            </div>
                            <div class="top2">
                                XXX答辩<span>PPT</span>
                            </div>
                            <div class="top3"></div>
                            <div class="bottomTips">
                                ≥15页左右
                            </div>
                            <div class="Image">
                                <img src="../pc/assets/img/arrowppt.png" alt="">
                            </div>
                        </div>
                    </div>
                    <p class="Title2">论文秒变PPT，轻松备战毕业季</p>
                    <div class="Referenc2 row">
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/auto.png" alt="">
                                <div class="textBox">
                                    <p class="p1">自动生成大纲</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/ppt.png" alt="">
                                <div class="textBox">
                                    <p class="p1">兼容pptx格式</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/content.png" alt="">
                                <div class="textBox">
                                    <p class="p1">内容丰富多样</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card">
                                <img src="../pc/assets/img/structure.png" alt="">
                                <div class="textBox">
                                    <p class="p1">结构条理清晰</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-8 rightCont" id="payHtml">
        <p class="getBack">< 返回提交页</p>
        <div class="main">
            <h3>确认订单 <i></i></h3>
            <div class="ontentText titles">
                <p class="text">
                    <img class="collateImg collateImg1" src="../pc/assets/img/ddImg.png?v1" alt="">
                    <img class="collateImg collateImg2" src="../pc/assets/img/ddImg2.png" alt="">
                    核对订单</p>
            </div>
            <div class="table clearfix">
                <div class="col-md-12 haders">
                    <div class="col-md-6 orderTime">
                        下单时间  <span id="dateTime"></span>
                    </div>
                    <div class="col-md-6 orderId">
                        订单编号  <span id="orderIdText">**********</span>
                    </div>
                </div>
                <div class="col-md-12 line line1 line3">
                    <div class="leftText">
                        论文标题:
                    </div>
                    <div class="rightText rightText1 typeTagBox">
                        <span class="title-blockBox">
                            <span id="orderTitle">* *</span>
                            <span class="typeTag" style="display: none;"></span>
                        </span>
                    </div>
                </div>
                <div class="col-md-12 line line1 PaperType" id="PaperType" style="display: none;">
                    <div class="leftText">
                        论文类型:
                    </div>
                    <div class="rightText rightText1 PaperTypeName">

                    </div>
                </div>
                <div class="col-md-12 line line1 NumberWordsBox">
                    <div class="leftText">
                        字数:
                    </div>
                    <div class="rightText rightText1">
                        <span id="NumberWords">0</span>
                        <span>字</span>
                    </div>
                </div>
                <div class="col-md-12 line line1 Preview">
                    <div class="leftText">
                        提纲:
                    </div>
                    <div class="rightText rightText1">
                        <span class="PreviewClick">预览</span>
                    </div>
                </div>
                <div class="col-md-12 line line1 noPayWay">
                    <div class="leftText">
                        单价:
                    </div>
                    <div class="rightText rightText1">
                        <span id="UnitPrice2">暂无</span>
                    </div>
                </div>
                <div class="col-md-12 line line1 noPayWay">
                    <div class="leftText">
                        订单金额:
                    </div>
                    <div class="rightText rightText1 orderAmountBox2">
                        ￥<span id="orderAmount2"></span>
                    </div>
                </div>
            </div>
            <div class="appreciation">
                <div class="text">
                    <img class="zzImg zzImg1" src="../pc/assets/img/zzImg.png?v1" alt="">
                    <img class="zzImg zzImg2" src="../pc/assets/img/zzImg2.png" alt="">
                    增值服务</div>
                <div class="appreciationUL">
                    <div class="appreciation-block-i">
                        <div class="appreciationLI zjcaigczz" goodsid-key="" data-janename="zjcaigczz">
                            <img src="../pc/assets/img/new-icon.png" class="icon-new" alt="">
                            <div class="logo-services">
                                <img class="s-logo" src="../pc/assets/img/logo-zjc.png" alt="">
                                <span> <img src="../pc/assets/img/wenhao-t.png" alt="">  样例 </span>
                                <img class="s-example" src="../pc/assets/img/aigc-e.png" alt="">
                            </div>
                            <span class="price"></span><span class="explain">降低“AIGC检测系统”的AI疑似率</span>
                            <i></i>
                        </div>
                        <div class="appreciationLI szsjzz" goodsid-key="" data-janename="szsjzz" data-janename1="qkszsjzz">
                            <div class="el-top">
                                <p class="good_name"></p>
                                <span class="must_read">
                                    <img src="../pc/assets/img/wenhao.png" alt="">
                                    购前必读
                                    <div class="szsj_tips_block">
                                        <p class="title_tips">什么是实证数据</p>
                                        <p class="explain_tips">实证数据是指从<span class="blue1">研究报告、财务报表、新闻报道以及权威机构</span>等渠道获取的各类真实数据，例如“国内生产总值（GDP）”、“贸易量”、“人口统计数据”等。<span class="blue1">这些数据可用于支持和证实论文中的观点。</span></p>
                                        <p class="title_tips">什么专业适用</p>
                                        <p class="explain_tips">1. <span class="blue2">“经济学”、“文学”、“法学”</span>等<span class="blue3">文科</span>专业，推荐使用实证数据来增强论文的说服力。</p>
                                        <p class="explain_tips">2. <span class="blue2">“工程学”、“计算机科学”</span>等<span class="blue3">理工科</span>专业在决定是否使用实证数据时需要谨慎，因为这些领域的研究更侧重于<span class="blue2">理论和技术层面的探讨，会被认为不需要实证数据。</span></p>
                                        <p class="title_tips"><span class="red1">重要提示</span></p>
                                        <p class="explain_tips">1. 在采用实证数据时，我们会运用专业的评估模型来决定文章是否真正需要这些数据。<span class="red2">模型评估结果可能是整篇文章无需实证数据，那么将不会有实证数据出现在论文中。</span></p>
                                        <p class="explain_tips noMarginBottom">2. <span class="red2">支付之前，请确认能接受机器生成带来的误差和局限性，再支付费用，确认支付后不接受任何形式退款。</span> </p>
                                    </div>
                                </span>
                            </div>
                            <div>
                                <span class="price"></span>
                                <span class="explain">
                                    仅适用于文科专业，理工科慎选
                                </span>
                                <i></i>
                            </div>
                            <img src="../pc/assets/img/new-icon.png" class="icon-new" alt="">
                        </div>
                    </div>
                   <div class="appreciation-block-i">
                       <div class="appreciationLI" goodsid-key="" data-janename="ktbg">
                           <span class="good_name"></span>
                           <span class="currentPrice">  </span>
                           <span class="originalPrice">  </span>
                           <i></i>
                       </div>
                       <div class="appreciationLI" goodsid-key="" data-janename="rws">
                           <span class="good_name"></span>
                           <span class="currentPrice">  </span>
                           <span class="originalPrice">  </span>
                           <i></i>
                       </div>
                       <div class="appreciationLI" goodsid-key="" data-janename="dbppt">
                           <span class="good_name"></span>
                           <span class="currentPrice">  </span>
                           <span class="originalPrice">  </span>
                           <i></i>
                       </div>
                   </div>
                </div>
            </div>
            <div class="coupon_box">
                <div class="text">
                    <img class="zzImg yhqImg1" src="../pc/assets/img/yhqImg.png" alt="">
                    <img class="zzImg yhqImg2" src="../pc/assets/img/yhqImg2.png" alt="">
                    优惠券</div>
                <div class="form-group form-group_s card">
                    <div>
                        <input autocomplete="off" class="form-control" onKeyUp="value=value.replace(/[\W]/g,'')" maxlength="30" name="coupon" type="text" placeholder="请输入优惠券码" id="coupon"/>
                        <span class="use_now">兑换</span>
                        <!-- 优惠券广告位-->
                        <div class="claim-coupons">
                            <img src="../pc/assets/img/youhuiquan.png" alt="">
                            领取优惠券
                        </div>
                        <span class="errorTip"><img src="../pc/assets/img/err_tip.png" alt=""><span></span></span>
                    </div>
                </div>
                <div class="no_pay_text">该商家未开通扫码支付，此页面仅支持优惠券兑换</div>
            </div>
            <div class="titles pay_Box_y">
                <div class="text">
                    <img class="zfImg zfImg1" src="../pc/assets/img/zfImg.png?v1" alt="">
                    <img class="zfImg zfImg2" src="../pc/assets/img/zfImg2.png" alt="">
                    订单支付</div>
                <div class="clearfix2">
                    <div class="payType pull-left">
                        <div id="alipay" data-type="alipayScan" style="display: none;">
                            <img src="../pc/assets/img/Alipay.png" alt="">
                            <span>支付宝支付</span>
                        </div>
                        <div id="wx" data-type="wxScan" style="display: none;">
                            <img src="../pc/assets/img/wx.png" alt="">
                            <span>微信支付</span>
                        </div>
                        <div id="scanCodeRich" data-type="scanCodeRich" style="display: none;">
                            <img src="../pc/assets/img/scanpay.png" alt="">
                            <span>扫码支付</span>
                        </div>
                        <div id="thirdparty" data-type="thirdparty" style="display: none;">
                            <img src="../pc/assets/img/dsf.png" alt="">
                            <span>第三方支付</span>
                        </div>
                    </div>
                    <div class="code pull-left">
                        <div class="pull-left codeER">
                            <div id="qrcode"></div>
                            <div class="load">
                                <img src="../pc/assets/img/loding.gif" alt="">
                            </div>
                            <div class="mask">
                                <img src="../pc/assets/img/expired.png" alt="">
                                <p>点击刷新</p>
                            </div>
                            <p class="tips">提示：扫码支付,请勿刷新页面</p>
                        </div>
                        <div class="pull-left titlesRight payTypeClass">
                            <div class="payTypes">单价: <span class="UnitPrice">暂无</span> </div>

                            <div class="amount">应付金额 <span><b>￥</b><span class="orderAmount">00.00</span></span></div>

                            <p class="auxiliary">剩余支付时间 <span class="time"><span class="payTime">120</span>秒</span>，<span class="next">已支付下一步</span></p>

                            <div class="tipsBox">
                                <div class="typeTips">
                                    <img src="../pc/assets/img/wx.png" alt="">
                                     <img src="../pc/assets/img/Alipay.png" alt="">
<!--                                    <img src="../pc/assets/img/ysf.png" alt="">-->
                                     <span>使用微信、支付宝扫码支付 </span>
<!--                                    <span>使用微信扫码支付 </span>-->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="tbPay pull-left">
                        <div class="Options">
                            <div id="XHS" class="zdyType" data-type="redBook">
                                <img src="../pc/assets/img/xhs.png" alt="">
                                小红书订单
                            </div>
                            <div id="TB" class="zdyType" data-type="taobao">
                                <img src="../pc/assets/img/tb.png" alt="">
                                淘宝订单
                            </div>
                        </div>

                        <div class="main">
                            <div class="tb-content">
                                <div class="tb-idBox">
                                    <label>订单编号：</label>
                                    <input
                                        autocomplete="off" maxlength="30" name="NumberWords"
                                        type="text"
                                        placeholder="填写淘宝订单编号(必填)"
                                        id="tbTid"
                                        class="form-control tb-oid noMarginTop" />

                                    <span class="tipsDiv2">
                                        <img src="../pc/assets/img/tipsText.png" alt="">
                                        <div>
                                            不满一件, 按一件计算
                                        </div>
                                    </span>
                                </div>
                                <div class="tb-idBox">
                                    <label>备用订单：</label>
                                    <!-- onafterpaste="this.value=this.value.replace(/[^\d]/g,'') "
                                    onkeyup="this.value=this.value.replace(/[^\d]/g,'') "
                                     -->
                                    <input
                                        autocomplete="off" maxlength="60" name="NumberWords"
                                        type="text"
                                        placeholder="数额不足时填写，会合并数额"
                                        id="tbTid-2"
                                        class="form-control tb-oid" />
                                        <span class="tipsDiv">
                                            <img src="../pc/assets/img/tipsText2.png" alt="">
                                            <div>
                                                多个备用订单
                                                <br>
                                                请用英文逗号分隔
                                            </div>
                                        </span>
                                </div>
                                <div class="errTip"></div>
                                <div class="tb-payOrder">立即使用</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="EditPopup EditPopupPay">
    <div class="editBox">
        <div class="editHader">
            <span>确认提纲</span>
            <img class="delete" src="../pc/assets/img/delete.png" alt="关闭">
        </div>
        <div class="editMain">
            <div class="recommend">
                <div id="editor2" class="editorBox" contenteditable="true" placeholder="">
                </div>
                <div class="loging">
                    <img src="../pc/assets/img/loging.gif" alt="正在加载">
                    <p>正在获取数据...</p>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="fiexBox">
    <div class="navBtn WX">
        <img class="wx2" src="../pc/assets/img/wxico.png" alt="wx-logo">
        <div class="wxKF">
            <div class="customerBox">
                <div class="head">
                    <img src="../pc/assets/img/kf.png" alt="">
                    <span class="customer-title"></span>
                </div>
                <div class="customerCode">
                    <img class="customer-qr" src="" alt="">
                </div>
                <div class="segmentation-line"></div>
                <div class="customerWay">
                    <p class="wxText"><span class="s0">微信:</span> <span class="s1"></span></p>
                    <p class="qqText"><span class="s0">Q Q:</span> <span class="s1"></span></p>
                    <p class="telephone"><span class="s0">电话:</span> <span class="s1"></span></p>
                    <p class="mailbox"><span class="s0">邮箱:</span> <span class="s1"></span></p>
                </div>
                <p class="noCustomer">商家未设置客服</p>
                <img class="customBg" src="../pc/assets/img/bg1.png" alt="">
            </div>
        </div>
    </div>
</div>
<div class="jump-prompt">
    <img class="close" src="../pc/assets/img/close.png" alt="">
    <p class="p1">跳转页面会导致已填写信息丢失</p>
    <p>是否继续跳转？</p>
    <button class="cancel">否</button>
    <button class="confirm">是</button>
</div>
<div class="mask_body"></div>
<div class="coupon_pop">
    <input  id="copyInput" type="text">
    <div class="pop_top">
        <div class="pop_title">支付提醒</div>
        <img class="close_pop" src="../pc/assets/img/delete.png" alt="">
    </div>
    <div class="pop_cont">
        <p class="p1">是否使用免费券支付?</p>
        <div class="back_block">
            <p class="p2">订单编号: <span class="orderId_pop"></span> <span class="copy_pop">复制</span> </p>
            <p class="p3">订单编号是查询和下载报告的唯一标识，请妥善保存。</p>
        </div>
    </div>
    <div class="pop_bottom">
        <div class="cancel_btn">取消</div>
        <div class="determine_btn">确定</div>
    </div>
</div>
<div id="customerOnline"></div>
<script src="../pc/assets/js/jquery.min.js"></script>
<script src="../pc/assets/js/bootstrap.min.js"></script>
<script src="../pc/assets/js/qrcode.min.js"></script>
<script src="../pc/assets/js/coco-message.js"></script>
<script src="../pc/assets/js/common.js?v=20.0"></script>
<script src="../pc/assets/js/editor.js?v=18.6"></script>
<script src="../pc/assets/js/ProfessionalEdition.js?v=18.2"></script>
<script>
    var qrcode = new QRCode(document.getElementById("qrcode"), {
        width: 135,
        height: 135,
    });
    var time = 600
    var Timeout = ''
    var pay_id = ''
    var isTrue = false
    var pay_type = ''
    var pay_way_index = ''
    var contentTypeIs = true
    var order_sn = getQueryVariable('order_sn') || getQueryVariable('commitId')
    var closeMsg = cocoMessage.loading('正在获取价格...')
    var order_amount = '';
    var noPayWay = false;
    var typeAll = {
        wx: "wxScan",
        alipay: "alipayScan",
        scanCodeRich: "scanCodeRich",
        taobao: "taobao",
        redBook: 'redBook'
    }
    var typeData2 = ''
    var source = ''

    // 先判断是不是微信端打开的
    let client_type = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
    if(client_type){
        source = 7
        if (/(micromessenger)/i.test(navigator.userAgent)) {
            source = 2
        }
    }else{
        source = 1
    }

    $('#NumberWords').text(getQueryVariable('NumberWords') || '0')
    $('#orderTitle').text(getQueryVariable('lw_type') || '未知')
    if(getQueryVariable('PaperTypeName')) {
        $('#PaperType').show()
        $('.PaperTypeName').text(getQueryVariable('PaperTypeName'))
    }else {
        $('#PaperType').hide()
        $('.PaperTypeName').text('')
    }

    // url不携带订单号, 返回提交页
    if(!order_sn) location.href='./index.html'

    // 支付
    function payOrder(payType,price) {
        $('.load').show()
        $(".mask").hide();
        if(pay_type == 'taobao' || pay_type == 'redBook') {
            $('.load').hide()
            closeMsg()
            $('#orderIdText').text(order_sn)
            pay_id = order_sn
            contentTypeIs = true
            return;
        }
        if(pay_type == 'scanCodeRich') {
            $(".code").show()
            if(!typeData2.increment_goods_list.length) {
                $('.orderAmount').text( getQueryVariable('order_amount') || price || '0.00')
                $("#dateTime").text(getQueryVariable('created'))
            }
            $(".orderAmount").text(price)
            qrcode.makeCode(getQueryVariable('pay_wap_url') + '/pay/waporder/' + order_sn + '?source=' + source);
            $('.load').hide()
            time = 600
            $('.payTime').text(time)
            closeMsg()
            $('#orderIdText').text(order_sn)
            pay_id = order_sn
            contentTypeIs = true
            payStatus()
            countdown()
        }else {
            var formData = getFormData({
                order_sn: order_sn,
                pay_type,
                source
            })
            $.ajax({
                type: 'post',
                url: urls + '/api/client/pay/payOrder',
                processData: false,
                contentType: false,
                xhrFields: {
                    withCredentials: true
                },
                data: formData,
                success: function(data) {
                    if(data.code == 200) {
                        $('#orderIdText').text(data.data.pay_id)
                        $('#dateTime').text(data.data.place_order_time)
                        qrcode.makeCode(data.data.qrlink);
                        $('.orderAmount').text(data.data.payment_money || '0.00')
                        $('.load').hide()
                        time = 600
                        $('.payTime').text(time)
                        pay_id = data.data.pay_id
                        payStatus()
                        countdown()
                    }else if(data.code == 3001) {
                        cocoMessage.success('订单已支付', 2000)
                        window.location.href = "./query.html?oid=" + order_sn + '&editionType=' + getQueryVariable('editionType');
                    }else if(data.code == -1 && data.codeMsg == '不支持的该支付方式'){

                    }else {
                        cocoMessage.error(data.codeMsg, 2000);
                        $(".mask").show()
                        $('.load').hide()
                    }
                    contentTypeIs = true
                    closeMsg()
                },
                error: function(err) {
                    cocoMessage.error("请求失败!请检查网络", 2000);
                    contentTypeIs = true
                    closeMsg()
                }
            });
        }
    }

    // 切换第三方支付方式
    $('.zdyType').click(function() {
        $('.zdyType').removeClass('Select')
        $(this).addClass('Select')
        placeholder()
        $(".errTip").text('')
    })

    // 第三方支付,确认按钮
    var TbPaying = false
    $(".tb-payOrder").click(function (){
        $(".errTip").hide();
        $(".tbPay").removeClass('errInput')
        if(TbPaying){
            return;
        }
        if(!$("#tbTid").val()) {
            $(".errTip").text($('#tbTid').attr('placeholder'))
            $(".tbPay").addClass('errInput')
            $(".errTip").show();
            return
        }
        var closeMsgTb = cocoMessage.loading("订单支付中", 2000);
        let formData = getFormData({
            order_sn: order_sn,
            pay_type: $('.zdyType.Select').attr('data-type'),
            tids: $("#tbTid").val() + ($('#tbTid-2').val()?(','+$('#tbTid-2').val()):''),
            source
        })
        TbPaying = true
        $.ajax({
            type: 'post',
            url: urls + '/api/client/pay/payOrder',
            processData: false,
            contentType: false,
            xhrFields: {
                withCredentials: true
            },
            data: formData,
            success: function (data) {
                TbPaying = false
                if(data.code == 200){

                }else{
                    if(data.code == 3001){
                        cocoMessage.success('订单已支付', 2000)
                        window.location.href = window.location.origin + "/query_order?oid=" + order_sn + '&editionType=' + getQueryVariable('editionType');
                        return
                    }
                    $(".tbPay").addClass('errInput')
                    $(".errTip").text(data.codeMsg)
                    $(".errTip").show();
                }
            },
            error: function (err) {
                TbPaying = false
                cocoMessage.error("请求失败!请检查网络", 2000);
                contentTypeIs = true
            },
            complete: function (){
                closeMsgTb()
            }
        })
    })

    // 切换到第三方支付
    function thirdpartyPayOrder() {
        $(".code.pull-left").hide();
        contentTypeIs = true;
        $(".tbPay").show();

        if(pay_way_index.taobao) $('#TB').show()
        if(pay_way_index.redBook) $('#XHS').show()

        // 默认选中第三方支付方式
        if(pay_way_index.redBook) {
            $('#XHS').addClass('Select')
        }else {
            $('#TB').addClass('Select')
        }

        placeholder()
        clearTimeout(Timeout)
        time = 0
        closeMsg();
    }

    // 切换自定义订单提示
    function placeholder() {
        if($('.zdyType.Select').attr('id')=='XHS') {
            $('#tbTid').attr('placeholder' , '填写小红书订单编号(必填)')
        }else {
            $('#tbTid').attr('placeholder' , '填写淘宝订单编号(必填)')
        }
    }

    // 初始化默认支付
    function payWay(pay_way , goods_info) {
        // 默认支付方式
        pay_type = typeAll[pay_way.default]
        pay_way_index = pay_way
        // 没有支付方式的时候隐藏订单金额
        if(!pay_way.alipay && !pay_way.wx && !pay_way.scanCodeRich && !pay_way.taobao && !pay_way.redBook){
            noPayWay = true
        }
        if(pay_type == 'scanCodeRich') { // 扫码付
            $('.tipsBox').show()
            $(".code").show();
            $('.titlesRight').removeClass('payTypeClass')
            if(pay_way.taobao || pay_way.redBook) {// 扫码付有自定义订单的时候, 出现左侧选项
                $('#thirdparty').show()
                $('#scanCodeRich').show()
                $('#scanCodeRich').addClass('select')
            }
        }else { // 其他支付方式
            if(pay_way.alipay) $('#alipay').show()
            if(pay_way.wx) $('#wx').show()
            $('.clearfix2>.payType>div').removeClass('select')
            $('#' + pay_way.default).addClass('select')
            if(pay_way.taobao || pay_way.redBook) {// 第三方订单展示控制
                if(pay_type != 'taobao' && pay_type!='redBook') $('#thirdparty').show()

                if(pay_way.taobao) {
                    $('#TB').show()
                }
                if(pay_way.redBook) {
                    $('#XHS').show()
                }
            }
            // 默认支付方式为淘宝或小红书的时候, 说明没有其他支付方式了
            if(pay_type == 'taobao' || pay_type=='redBook') { // 淘宝或小红书订单(第三方订单)
                $(".code").hide();
                $(".tbPay").show();
                $(".tbPay").css('paddingLeft', 0)

                if(pay_type == 'taobao') { // 默认选中第三方支付方式
                    $('#TB').addClass('Select')
                }else {
                    $('#XHS').addClass('Select')
                }
                placeholder()
            }else {
                $(".code").show();
            }
        }

        typeData2 = typeData[getQueryVariable('contentType')] // 拿到当前版本的info参数

        /**
         TODO
         判断是否有增值业务,
         有就调接口加上,成功后默认选中
         否则就直接调二维码接口
         **/
        var increment_goods_arr = []
        for(var i in typeData2.increment_goods_infos) {
            increment_goods_arr.push(typeData2.increment_goods_infos[i])
        }
        if(increment_goods_arr.length) { // 以后改默认不选中改此处
            var variationOrderId = []
            for(var i=0; i<increment_goods_arr.length; i++){
                for(var j=0; j<$(".appreciationLI").length; j++){
                    if($($(".appreciationLI")[j]).attr('data-janename') == increment_goods_arr[i].short_name || $($(".appreciationLI")[j]).attr('data-janename1') == increment_goods_arr[i].short_name){   //增值服务块显示
                        $($(".appreciationLI")[j]).attr('goodsid-key',increment_goods_arr[i].goods_id)
                        if(increment_goods_arr[i].selection) {
                            $($(".appreciationLI")[j]).addClass('selected')
                        }
                        $($(".appreciationLI")[j]).find('.good_name').text(increment_goods_arr[i].name)
                       if(increment_goods_arr[i].unit_type == '篇') {
                           $($(".appreciationLI")[j]).find('.currentPrice').text(increment_goods_arr[i].selling_price + '元')
                           $($(".appreciationLI")[j]).find('.originalPrice').text((increment_goods_arr[i].selling_price * 2).toFixed(2) + '元')
                       }else{
                           $($(".appreciationLI")[j]).find('.price').text(increment_goods_arr[i].selling_price + '元/' + increment_goods_arr[i].unit_count + increment_goods_arr[i].unit_type)
                       }
                        $($(".appreciationLI")[j]).show()
                    }
                }
               if(getQueryVariable('zxktbg') && getQueryVariable('zxktbg')!=='false' && increment_goods_arr[i].short_name == 'ktbg'){
                   $(".appreciationLI[data-janename='ktbg']").hide()
                   $(".appreciationLI[data-janename='ktbg']").removeClass('selected')
               }
            }
            $('.appreciation').show()
            for(var i=0;i<$(".appreciationLI.selected").length; i++){
                variationOrderId.push($($(".appreciationLI.selected")[i]).attr('goodsid-key'))
            }
            variationOrder(variationOrderId)
        }else {
            //无支付方式隐藏扫码支付
            if(noPayWay){
                $(".noPayWay").show()
                $("#orderAmount2").text(order_amount)
                $(".pay_Box_y").hide();
                $("#coupon").attr("placeholder", "请输入优惠券兑换码支付");
                $(".no_pay_text").show();
                $("#dateTime").text(getQueryVariable('created'))
                $("#orderAmount2").text(getQueryVariable('order_amount'))
                $("#orderIdText").text(getQueryVariable('order_sn'))
                $(".orderId_pop").text(getQueryVariable('order_sn'))
                closeMsg()
            }else{
                if(pay_type == 'thirdparty'){
                    closeMsg()
                    return
                }
                payOrder(pay_type)
            }
        }
        $('.typeTag').text(typeData2.name).show()

        if(typeData2.unit_type == '字') {
            $('.UnitPrice').text(typeData2.selling_price+'元/'+typeData2.unit_count+typeData2.unit_type+"（不满千字按千字计算）")
            $('#UnitPrice2').text(typeData2.selling_price+'元/'+typeData2.unit_count+typeData2.unit_type+"（不满千字按千字计算）")
            $('.NumberWordsBox').show()
        }else {
            $('.UnitPrice').text(typeData2.selling_price+'元/每'+typeData2.unit_type)
            $('#UnitPrice2').text(typeData2.selling_price+'元/每'+typeData2.unit_type)
        }
        window.setHeight()
    }

    function payStatus() { // 轮询
        clearTimeout(Timeout);
        $.ajax({
            type: 'get',
            url: urls + '/apirs/order/is_pay?pay_id=' + pay_id,
            xhrFields: {
                withCredentials: true
            },
            success: function (res) {
                clearTimeout(Timeout);
                if (time <= 0) {
                    $(".mask").show();
                }
                if (!res.data) {
                    if (time > 0) {
                        Timeout = setTimeout(function () {
                            payStatus();
                        }, 1000);
                    }
                }else {
                    clearTimeout(Timeout);
                    window.location.href = "./query.html?oid=" + pay_id + '&editionType=' + getQueryVariable('editionType');
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
            },
        });
    }

    var timeout2 = null
    function countdown(){
        clearTimeout(timeout2)
        timeout2 = setTimeout(function (){
                        time --
                        $('.payTime').text(time>0? time : 0)
                        if(time > 0){
                            countdown()
                        }
                    },1000)
    }


    $('.mask').click(function() { // 点击刷新
        $(".mask").hide();
        $('.load').show();
        payOrder()
    })

    // 下一步
    $('.next').click(function() {
        if(isTrue) return
        isTrue = true
        setTimeout(() => {
            isTrue = false
        },3000)
        var form_data = getFormData({
            pay_id: pay_id
        })
        $.ajax({
            type: 'post',
            url: urls + '/api/client/pay/verifyOrder',
            processData: false,
            contentType: false,
            xhrFields: {
                withCredentials: true
            },
            data: form_data,
            success: function (res) {
                if (res.code == 3001) {
                    cocoMessage.destroyAll();
                    cocoMessage.success('订单已支付', 2000)
                    window.location.href = "./query.html?oid=" + pay_id;
                }else {
                    cocoMessage.destroyAll();
                    cocoMessage.error("您的订单未支付", 2000);
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
            },
        });
    })

    // 支付方式切换
    $('.clearfix2>.payType>div').click(function () {
        if(pay_type) {
            if(!contentTypeIs) return
            if($(this).attr('data-type') != pay_type) {
                closeMsg = cocoMessage.loading('正在切换支付方式...');
                contentTypeIs = false
                $('.clearfix2>.payType>div').removeClass('select')
                $(this).addClass('select')
                pay_type = $(this).attr('data-type')
                if(pay_type == 'thirdparty'){
                    thirdpartyPayOrder()
                    return;
                }
                $(".tbPay").hide();
                $(".code").show();
                payOrder()
            }
        }
    })

    $(".appreciationUL").on('click','.appreciationLI',function(){
        if(!contentTypeIs) return
        closeMsg = cocoMessage.loading('正在重新计算价格...');
        $('.orderAmount').text('0.00')
        contentTypeIs = false
        if($(this).hasClass('selected')) {
            $(this).removeClass('selected')
        }else {
            $(this).addClass('selected')
        }
        // 加载
        $('.load').show()
        $(".mask").hide();
        // 组装goods
        var goods = []
        for(var i = 0; i< $('.appreciationLI').length; i++) {
            if($('.appreciationLI').eq(i).hasClass('selected')) {
                goods.push($('.appreciationLI').eq(i).attr('goodsId-key'))
            }
        }

        var formData = getFormData({
            order_sn: order_sn,
            goods: goods.toString(),
        })
        $.ajax({
            type: 'post',
            url: urls + '/api/client/order/variation/order',
            data: formData,
            contentType: false,
            processData: false,
            xhrFields: {
                withCredentials: true
            },
            success: function (res) {
                if (res.code == 200) {
                    order_sn = res.data.order_sn
                    $('.orderAmount').text( res.data.order_amount || '0.00')
                    $("#orderAmount2").text(res.data.order_amount)
                    $('#dateTime').text(res.data.created)
                    payOrder()
                    clearTimeout(Timeout);
                }else {
                    cocoMessage.error("增值服务选择失败!", 2000);
                    if($(this).hasClass('selected')) {
                        $(this).removeClass('selected')
                    }else {
                        $(this).addClass('selected')
                    }
                    contentTypeIs = true
                    closeMsg()
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
                contentTypeIs = true
                closeMsg()
            },
        });
    });

     // 默认选中增值服务(进入页面需要请求三个接口, 二维码显示时间太慢
    function variationOrder(variationOrderId) {
        contentTypeIs = false
        // 组装goods
        var goods = variationOrderId

        var formData = getFormData({
            order_sn: order_sn,
            goods: goods.toString(),
        })
        $.ajax({
            type: 'post',
            url: urls + '/api/client/order/variation/order',
            data: formData,
            contentType: false,
            processData: false,
            xhrFields: {
                withCredentials: true
            },
            success: function (res) {
                if (res.code == 200) {
                    order_sn = res.data.order_sn
                    order_amount = res.data.order_amount
                    $('.orderAmount').text( res.data.order_amount || '0.00')
                    $('#dateTime').text(res.data.created)
                }else {
                    $('.appreciationLI').removeClass('selected')
                }
                if(noPayWay){
                    $('#orderIdText').text(res.data.order_sn)
                    $(".noPayWay").show()
                    $("#orderAmount2").text(order_amount)
                    $('#dateTime').text(res.data.created)
                    $(".pay_Box_y").hide();
                    $("#coupon").attr("placeholder", "请输入优惠券码支付");
                    $(".no_pay_text").show();
                    contentTypeIs = true
                    closeMsg()
                }else{
                    if(pay_type !== 'thirdparty'){
                        payOrder(pay_type)
                    }else{
                        closeMsg()
                        contentTypeIs = true
                    }
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
                contentTypeIs = true
            },
        });
    }

    //优惠券
    $("#coupon").on('input',function (){
        if($(this).val().length > 0){
            $(".use_now").addClass('can')
        }else{
            $(".use_now").removeClass('can')
        }
    })

    $("#coupon").on('change',function (){
        $(".errorTip").hide();
    })

    let canClick = true;

    $(".use_now").on('click',function() {
        if(!canClick){
            return
        }
        canClick = false
        closeMsg = cocoMessage.loading('正在兑换优惠券...');
        // 组装goods
        var goods = []
        for(var i = 0; i< $('.appreciationLI').length; i++) {
            if($('.appreciationLI').eq(i).hasClass('selected')) {
                goods.push($('.appreciationLI').eq(i).attr('goodsId-key'))
            }
        }

        var formData = getFormData({
            order_sn: order_sn,
            goods: goods.toString(),
            code: $("#coupon").val()
        })

        $.ajax({
            type: 'post',
            url: urls + '/api/client/order/variation/order',
            data: formData,
            contentType: false,
            processData: false,
            xhrFields: {
                withCredentials: true
            },
            success: function (res) {
                canClick = true
                closeMsg()
                if (res.code == 200) {
                    order_sn = res.data.order_sn
                    $('.orderId_pop').text(res.data.order_sn)
                    $('#orderIdText').text(res.data.order_sn)
                    if(Number(res.data.order_amount) == 0) {
                        $(".coupon_pop").show();
                        $(".mask_body").show();
                    }else{
                        if(noPayWay){
                            cocoMessage.error("此优惠券不满足免单条件！", 2000);
                            return;
                        }
                        payOrder('',res.data.order_amount)
                    }
                }else {
                    // cocoMessage.error(res.codeMsg, 2000);
                    $(".errorTip span").text(res.codeMsg)
                    $(".errorTip").show();
                    closeMsg()
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
                contentTypeIs = true
                closeMsg()
                canClick = true
            },
        });

    })

    $(".copy_pop").on('click',function (){
        var text = $(".orderId_pop").text()
        $("#copyInput").val(text)
        $("#copyInput").select()
        try {
            var state = document.execCommand("copy");
        } catch (err) {
            var state = false;
        }
        if (state) {
            cocoMessage.success(1000, "复制成功", function() {
            });
        } else {
            cocoMessage.error(1000, "复制失败", function() {
            });
        }
    })

    function couponsPay() {
        var formData2 = getFormData({
            order_sn: order_sn,
            pay_type: 'coupons',
            source
        })
        $.ajax({
            type: 'post',
            url: urls + '/api/client/pay/payOrder',
            data: formData2,
            contentType: false,
            processData: false,
            xhrFields: {
                withCredentials: true
            },
            success: function (res) {
                if (res.code == 200) {

                }else if(res.code == 3001) {
                    cocoMessage.success('订单已支付', 2000)
                    window.location.href = "./query.html?oid=" + order_sn + '&editionType=' + getQueryVariable('editionType');
                }else {
                    cocoMessage.error(res.codeMsg, 2000);
                    closeMsg()
                }
            },
            error: function () {
                cocoMessage.error("请求失败!请检查网络", 2000);
                contentTypeIs = true
                closeMsg()
            },
        });
    }

    $(".close_pop").on('click',function (){
        $(".coupon_pop").hide();
        $(".mask_body").hide();
    })
    $(".cancel_btn").on('click',function (){
        $(".coupon_pop").hide();
        $(".mask_body").hide();
    })
    $(".determine_btn").on('click',function (){
        couponsPay()
    })
    $('.getBack').click(function() {
        if( window.sessionStorage.getItem('editionKey')== 'advanced'){
            $(".jump-prompt").fadeIn()
            $(".mask_body").fadeIn()
        }else {
            location.href = './index.html'
        }
    })

    $(".jump-prompt .close").click(function (){
        $(".mask_body").fadeOut()
        $(".jump-prompt").fadeOut()
    })

    $(".jump-prompt .cancel").click(function (){
        $(".mask_body").fadeOut()
        $(".jump-prompt").fadeOut()
    })

    $(".jump-prompt .confirm").click(function (){
        location.href = './index.html'
    })

    $(".mask_body").click(function (){
        $(".mask_body").fadeOut()
        $(".jump-prompt").fadeOut()
    })

    $('.PreviewClick').click(function() {
        Recommended(JSON.parse(localStorage.getItem('reviewData')) , $("#editor2"))
        $('.EditPopup').show()
        $('#editor2').attr('contenteditable' , false)
    })

    function setCssHeight(){
        if($(window).height()> 830){
            $(".main h3").css('marginTop', '24px')
            $(".main .titles").css('marginTop', '30px')
            $(".main .table").css('marginTop', '26px')
            $(".main .table").css('paddingBottom', '20px')
            $(".main .clearfix2").css('marginTop', '26px')
            $(".main #tbTid-2").css('marginTop', '10px')
            $(".main .tb-payOrder").css('marginTop', '20px')
            $(".main .appreciation").css('marginTop', '30px')
            $(".main .coupon_box").css('marginTop', '30px')
            $(".main .appreciationUL").css('marginTop', '22px')
        }
    }

    window.onresize = function (){
        setCssHeight()
    }
    setCssHeight()

    $(".szsj_tips_block").on('click',function (e){
        e.stopPropagation()
    })
</script>
</body>
</html>
